package com.yq.ylmall.vo.product;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegionExcelVo {
    @ExcelProperty(value = "id", index = 0)
    private Long id;

    @ExcelProperty(value = "地区编码", index = 1)
    private Long code;

    @ExcelProperty(value = "上级地区code", index = 2)
    private Long parentCode;

    @ExcelProperty(value = "地区名称",index = 3)
    private String name;

    @ExcelProperty(value = "地区级别：0-中国、1-省、自治区、直辖市 2-地级市、地区、自治州、盟 3-市辖区、县级市、县",index = 4)
    private Integer level;

}
